package leetcode.code678;

import leetcode.IDebug;
import leetcode.helper.HelpDebug;

public abstract class Solution678 implements IDebug {
	public abstract boolean checkValidString(String s);

	private void debug(String str1, boolean e) {
		boolean r = this.checkValidString(str1);
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug1() {
		String str1 = "()";
		boolean e = true;
		debug(str1, e);
	}

	@Override
	public void debug2() {
		String str1 = "(*)";
		boolean e = true;
		debug(str1, e);
	}

	@Override
	public void debug3() {
		String str1 = "(*))";
		boolean e = true;
		debug(str1, e);
	}

	@Override
	public void debug4() {

	}

}
